{template header}

<div class="midder">

{php doAction('group_my_top')}
 
<h1>我的小组</h1>

<div class="qi_c_c">
<div class="qi_c_cleft">

<div class="clear"></div>
<div class="zbar"><div>
<span class="now"><span>最新话题</span></span>
<a href="index.php?app=group&ac=my_topic">我发起的话题</a>
<a href="index.php?app=group&ac=my_reply">我回应的话题</a>
<a href="index.php?app=group&ac=my_collect">我收藏的话题</a>
</div>
</div>
<div class="clear"></div>


<div>

<table class="olt">
        <tbody><tr><td>话题</td><td>小组</td><td>作者</td><td align="right" nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;查看/回复</td> <td align="right">最后回应</td></tr>
		<!--{if $arrTopic}-->
		<!--{loop $arrTopic $key $item}-->
        <tr class="pl"><td><!--{if $item[istop]=='1'}--><img src="{$TS_APP[tpl][skin]}{$skin}/headtopic_1.gif" title="[置顶]" alt="[置顶]" /> <!--{elseif $item[addtime]>strtotime(date('Y-m-d 00:00:00'))}--><img src="{$TS_APP[tpl][skin]}{$skin}/topic_new.gif" align="absmiddle"  title="[新帖]" alt="[新帖]" /><!--{else}--><img src="{$TS_APP[tpl][skin]}{$skin}/topic.gif" align="absmiddle"  title="[帖子]" alt="[帖子]" /><!--{/if}--> <!--{if $item[isphoto]=='1'}--><img src="{$TS_APP[tpl][skin]}{$skin}/image_s.gif" title="[图片]" alt="[图片]" align="absmiddle" /><!--{/if}--> <!--{if $item[isattach] == '1'}--><img src="{$TS_APP[tpl][skin]}{$skin}/attach.gif" title="[附件]" alt="[附件]" /><!--{/if}--> <a title="{$item[title]}" href="{$TS_URL[topic]}{$item[topicid]}{$TS_URL[suffix]}">{$item[title]}</a></td><td><div class="w60"><a href="{$TS_URL[group]}{$item[groupid]}{$TS_URL[suffix]}">{$item[groupname]}</a></div></td><td><a href="index.php?app=user&ac=space&userid={$item[userid]}">{$item[username]}</a></td>
        <td align="right">{$item[count_view]}/{$item[count_comment]}</td><td align="right" nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;{php echo date('m-d H:i',$item[uptime])}</td></tr>
        <!--{/loop}-->
		<!--{/if}-->

        </tbody></table>

</div>
<div class="clear"></div>


</div>

<div class="qi_c_cright">
{php doAction('my_right_top')}

<h2>小组搜索 &nbsp; ·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;</h2>
<div class="indent">
<div class="infobox">
    <div class="ex1"><span></span></div>
    <div class="bd">
    <form method="GET" action="index.php">
	<input type="hidden" name="app" value="group" />
	<input type="hidden" name="ac" value="search" />
    <div class="tc"><input type="text" value="" maxlength="36" size="36" class="j a_search_text input_search greyinput" name="q" gtbfieldid="9"></div>
    <div class="tc">
	<input type="submit" class="butt" name="ts" value="搜索小组" /> 
	<input type="submit" class="butt" name="ts" value="搜索话题" />
    </div></form>
    </div>
     <div class="ex2"><span></span></div>
     </div></div>

<h2>我管理的小组 &nbsp; ·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;<span class="pl">&nbsp;(
                <a href="index.php?app=group&ac=my_group">全部</a>
            ) </span></h2>
<div class="indent obssin">
<!--{if $arrMyAdminGroup}-->
<!--{loop $arrMyAdminGroup $key $item}-->
<dl class="ob"><dt><a href="{$TS_URL[group]}{$item[groupid]}{$TS_URL[suffix]}"><img alt="" class="m_sub_img" src="{$item[groupicon]}" width="48" /></a></dt>
<dd><a href="{$TS_URL[group]}{$item[groupid]}{$TS_URL[suffix]}">{$item[groupname]}</a> <span>({$item[count_user]}<!--{if $item[uptime]>strtotime(date('Y-m-d 00:00:00'))}-->/<font color="orange">{$item[count_topic_today]}</font><!--{else}--><!--{/if}-->)</span>
</dd></dl>
<!--{/loop}-->
<!--{/if}-->

</div>
<div class="clear"></div>
	 
<h2>我参加的小组 &nbsp; ·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;·&nbsp;<span class="pl">&nbsp;(
                <a href="index.php?app=group&ac=my_group">全部</a>
            ) </span></h2>
<div class="indent obssin">
<!--{if $arrMyGroup}-->
<!--{loop $arrMyGroup $key $item}-->
        <dl class="ob"><dt><a href="{$TS_URL[group]}{$item[groupid]}{$TS_URL[suffix]}"><img alt="{$item[groupname]}" class="m_sub_img" src="{$item[groupicon]}" width="50"></a></dt>
        <dd><a href="{$TS_URL[group]}{$item[groupid]}{$TS_URL[suffix]}">{$item[groupname]}</a> <span>({$item[count_user]}<!--{if $item[uptime]>strtotime(date('Y-m-d 00:00:00'))}-->/<font color="orange">{$item[count_topic_today]}</font><!--{else}--><!--{/if}-->)</span>
        </dd>
		</dl>
<!--{/loop}-->		
<!--{/if}-->		
</div>
		
<div class="clear"></div>

<p class="pl2">&gt; <a href="index.php?app=group&ac=create">申请创建小组</a></p>
<br />

</div>
</div>
</div>

{template footer}